package movee.domain.query;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@Schema(description = "批量下载")
@JsonIgnoreProperties(ignoreUnknown = true)
public class BatchDownloadFileQuery {

    @SchemaProperty(name = "批量备份用到的属性")
    @NotNull(message = "fileNames不能为null")
    @NotEmpty(message = "fileNames不能为空")
    private List<String> fileNames;
}
